﻿<?xml version="1.0" encoding="utf-8" ?>
<DataStructure>
  <TableStructure>
    <Table  Name="Authorities" Description="权限" Type="MasterData"  ClassName="Authorities">
      <Field Name="UserID" Description="用户ID" DbType="int" PSize="" SSize="" DefaultValue="" PropertyName="UserID" IsPrimaryKey="" IsUnionKey="" IsNull=""/>
      <Field Name="AuthType" Description="权限类型" DbType="char" PSize="1" SSize="" DefaultValue="" PropertyName="AuthType" IsPrimaryKey="" IsUnionKey="" IsNull="">
        <ValidDataType name="BOAuthType">
          <ValidValue Name="Function" value="F" Description="菜单"/>
          <ValidValue Name="Models" value="M" Description="模块"/>
          <ValidValue Name="Report" value="R" Description="报表"/>
        </ValidDataType>
      </Field>
      <Field Name="UniqueID" Description="标识编码" DbType="int" PSize="" SSize="" DefaultValue="" PropertyName="UniqueID" IsPrimaryKey="" IsUnionKey="" IsNull=""/>
      <Field Name="Authority" Description="权限职能" DbType="char" PSize="1" SSize="" DefaultValue="" PropertyName="Authority" IsPrimaryKey="" IsUnionKey="" IsNull="">
        <ValidDataType name="BOAuthority">
          <ValidValue Name="FullAuthority" value="F" Description="全部"/>
          <ValidValue Name="ReadOnly" value="R" Description="只读"/>
          <ValidValue Name="NoAuthority" value="N" Description="无"/>
        </ValidDataType>
      </Field>
      <Field Name="Creator" Description="创建人" DbType="int" PSize="" SSize="" DefaultValue="" PropertyName="Creator" IsPrimaryKey="" IsUnionKey="" IsNull="Yes"/>
      <Field Name="CreateDate" Description="创建时间" DbType="Datetime" PSize="" SSize="" DefaultValue="" PropertyName="CreateDate" IsPrimaryKey="" IsUnionKey="" IsNull="Yes"/>
      <Field Name="Updator" Description="更新人" DbType="int" PSize="" SSize="" DefaultValue="" PropertyName="Updator" IsPrimaryKey="" IsUnionKey="" IsNull="Yes"/>
      <Field Name="UpdateDate" Description="更新时间" DbType="Datetime" PSize="" SSize="" DefaultValue="" PropertyName="UpdateDate" IsPrimaryKey="" IsUnionKey="" IsNull="Yes"/>
      <Field Name="Remarks" Description="备注" DbType="ntext" PSize="" SSize="" DefaultValue="" PropertyName="Remarks" IsPrimaryKey="" IsUnionKey="" IsNull="Yes"/>
    </Table>
  </TableStructure>
  <ObjectStructure>
    <Object ObjectType="MasterData" ObjectCode="Authorities" ObjectName="权限" TableName="Authorities" NameSpace="Authorities" IsLog="">
    </Object>
  </ObjectStructure>
</DataStructure>